#ifndef _TCPSERVER_H
#define _TCPSERVER_H
#include "Acceptor.h"
#include "EventLoop.h"

class TcpServer{
public:
TcpServer(unsigned short ,string);
void setAllCallbacks(Callback &&cb1,Callback &&cb2,Callback &&cb3);
void start();
void stop();
private:
Acceptor _acceptor;
EventLoop _loop;

};


#endif

